/*******************************************************************/
#include "stm32f4xx.h"
#include "stm32f4xx_rcc.h"
#include "stm32f4xx_gpio.h"

#include "FreeRTOS.h"
#include "task.h"

/*******************************************************************/

#define MAIN_TASK_PRIO   ( tskIDLE_PRIORITY + 1 )

void Main_task(void * pvParameters);

uint32_t count = 0;

int main()
{
  xTaskCreate(Main_task, (int8_t *)"Main", configMINIMAL_STACK_SIZE * 2, NULL, MAIN_TASK_PRIO, NULL);

  vTaskStartScheduler();
	
	while(1) {
	}
}

/**
  * @brief  Main task
  * @param  pvParameters not used
  * @retval None
  */
void Main_task(void * pvParameters)
{
	while(1) {
		count++;
	}
}

